package com.rrd.itext.xmlBean.dataBean;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("Page")
public class DataXmlPage{
	@XStreamAsAttribute
	private String description;
	@XStreamAsAttribute
	private String name;
	@XStreamAsAttribute
	private String url;
	@XStreamAsAttribute
	private String type;
	
	@XStreamAlias("Zones")
	private List<DataXmlZone> zones;

	
	
	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<DataXmlZone> getZones() {
		return zones==null?new ArrayList<DataXmlZone>():zones;
	}

	public void setZones(List<DataXmlZone> zones) {
		this.zones = zones;
	}
}
